#{extends 'content.html' /}
#{set title: '我关注的用户' /}
#{set followings :'active' /}
#{set user_name : usr.name /}
#{set user_img : usr.avatar/}
#{set user_post_cnt : usr.postCnt/}
#{set user_followers_cnt : usr.followersCnt/}
#{set user_following_cnt : usr.followingCnt/}
<br>
<h2>我关注了#{get 'user_following_cnt'/}人</h2>
<hr>
<table>
    <tbody>
        #{list items: usr.getFollowing(), as: 'following'}
        <tr>
    <img src="${following.avatar}" style="width: 50px;height: 50px" >
    ${following.name}
    <a class="badge badge-error unfollow" data-uid="${following.id}"  href="">取消</a>
    <br>
    <br>
    </tr>
    #{/list}
    </tbody>
</table>
